package com.example.shiro.entity;

import lombok.Data;
import org.springframework.data.annotation.Id;
import org.springframework.data.mongodb.core.mapping.Document;

import java.util.Date;

/**
 * @author
 */
@Data
@Document("article")
public class Article {
    @Id
    private String id;
    private String title;
    private String content;
    private String author;
    private Date createDate;
}
